# See LICENSE file for copyright and license details.

include config.mk

SRC = main.c
OBJ = $(SRC:.c=.o)

EXECS = main
LIB = ../libinb.a

all: $(EXECS)

.c.o:
	@$(CC) $(CFLAGS) -c $<

clean:
	@rm -f $(EXECS) $(OBJ)

main: main.o $(LIB)
	@$(CC) -g -o $@ $^ $(LDFLAGS)

